/**
 * @Description:style.css
 * @Author:LCore
*/

body {
    background-color: #EFEFEF;
}


.header {
    display: block;
    margin: 0px auto;
    text-align: left;
    width: 500px;
    height: 80px;

}

.header .cell {
    float: left;
    text-align: right;
    font-family: '微软雅黑';
    font-size: 12pt;
}

.header .cell #newGame {
    background-color: #8f7a66;
    width: 100%;
    height: 70px;
    color: white;
    text-decoration: none;
    text-align: center;
    line-height: 70px;
    border-radius: 5px;
    display: inline-block;
}

.header .cell #currentScore {
    display: inline-block;
    background-color: #F7921E;
    width: 90%;
    height: 60px;
    padding-top: 10px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.header .cell #topScore {
    display: inline-block;
    background-color: #BAAB9E;
    width: 90%;
    height: 60px;
    color: white;
    padding-top: 10px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.header #newGame:hover {
    background-color: #9f8b77;
}

#grid-container {
    width: 460px;
    height: 460px;
    padding: 20px;
    margin: 10px auto;
    background-color: #bbada0;
    border-radius: 10px;
    position: relative;
}

.grid-cell {
    width: 100px;
    height: 100px;
    background-color: #ccc0b3;
    border-radius: 6px;
    position: absolute;
}

.number-cell {
    border-radius: 6px;
    font-family: '幼圆';
    font-weight: bold;
    /* font-size: 60px; */
    font-size: 20px;
    line-height: 100px;
    text-align: center;
    position: absolute;
}

.tip {
    text-align: center;
    padding-top: 10%;
    font-size: 2em;
}

.footer {
    background-color: white;
    width: 550px;
    margin: 2em auto 0;
    padding-bottom: 0.3em;
}

.footer p {
    text-align: center;
    font-size: 1.125em;
}

.footer h3 {
    margin-top: 1.2em;
    margin-bottom: 2em;
}

.footer ul {
    margin-top: 0em;
    margin-bottom: 0em;
}

.footer ul li {
    list-style-type: none;
}


@media screen and (max-width: 1080px) and (-webkit-min-device-pixel-ratio : 2) {
    #grid-container {
        width: 460px;
        height: 460px;
        padding: 20px;
        margin: 10px auto;
        background-color: #bbada0;
        border-radius: 10px;
        position: relative;
    }

    .grid-cell {
        width: 100px;
        height: 100px;
        background-color: #ccc0b3;
        border-radius: 6px;
        position: absolute;
    }

    .number-cell {
        border-radius: 6px;
        font-family: '幼圆';
        font-weight: bold;
        /* font-size: 60px; */
        font-size: 20px;
        line-height: 100px;
        text-align: center;
        position: absolute;
    }

    .tip {
        text-align: center;
        padding-top: 10%;
        font-size: 2em;
    }

    .footer {
        background-color: white;
        width: 550px;
        margin: 1em auto 0;
        padding-bottom: 0.1em;
    }

    .footer p {
        margin: 0.4 auto;
        text-align: center;
        font-size: 1.125em;
    }

    .footer h3 {
        display: none;
    }

    .footer ul li {
        font-size: 0.875em;
    }
}



@media screen and (max-width: 600px) {
    .footer {
        background-color: white;
        width: 400px;
        margin: 2em auto 0;
        padding-bottom: 0.2em;
    }
}

@media screen and (max-width: 375px) {
    .footer {
        background-color: white;
        width: 340px;
        margin: 2em auto 0;
        padding-bottom: 0.2em;
    }

    .footer h3 {
        margin-top: 1em;
        margin-bottom: 0.6em;
    }

    .footer ul {
        padding-left: 1.2em;
    }
}


@media screen and (max-width: 375px) {
    .footer {
        background-color: white;
        width: 280px;
        margin: 1.5em auto 0;
        padding-bottom: 0.2em;
    }

    .footer p {
        text-align: center;
        font-size: 0.875em;
    }

    .footer h3 {
        font-size: 1.2em;
        margin-top: 0.2em;
        margin-bottom: 0.1em;
    }

    .footer ul {
        font-size: 0.6em;
        padding: 0%;
        padding-left: 1.2em;
    }
}

@media screen and (max-width: 360px) {}

@media screen and (max-width: 320px) {
    .footer {
        background-color: white;
        width: 280px;
        margin: 1.5em auto 0;
        padding-bottom: 0.2em;
    }

    .footer p {
        text-align: center;
        font-size: 0.875em;
    }

    .footer h3 {
        font-size: 1.2em;
        margin-top: 0.2em;
        margin-bottom: 0.1em;
    }

    .footer ul {
        font-size: 0.6em;
        padding: 0%;
        padding-left: 1.2em;
    }
}